package com.qst.crop.service;

import com.github.pagehelper.PageInfo;
import com.qst.crop.entity.Cart;
import com.qst.crop.entity.MyCart;
import org.springframework.stereotype.Service;

import java.util.List;


public interface CartService {
    //List<Cart> findAll();

    int add(Cart cart);

    int update(Integer shoppingId, Integer count);

    int delete(int id);

    List<Cart> show();

    List<MyCart> show1(String username);

    int isExit(Integer id,String username);
}
